package com.simple.datax.flow.constants;

/** 
 * @Title: TaskConstants.java 
 * @Package com.simple.datax.flow.util 
 * @Description: TODO(任务状态参数) 
 * @author tonney 
 * @date 2013-1-5 下午02:26:06 
 * @version V1.0 
 */
public class TaskConstants {
	public static final int STATUS_WAIT = 0;
	public static final int STATUS_ACTIVE = 1;
	public static final int STATUS_DEALING = 2;
	public static final int STATUS_SUCCESS = 3;
	public static final int STATUS_FAILE = 4;
	public static final int STATUS_STOP = 5;
	
	public static final String TASK_STATUS_FIELD = "stu";  //活动状态在redis缓存中field名
	public static final String TASK_FLOW_FIELD = "flow";  //任务对应流程号在redis缓存中field名
	public static int SAVE_TM = 60*60*24*5;  //缓存保存有效时间5天

}
